import GroupLine from '~icons/ri/group-line';
import Question from '~icons/ri/question-answer-line';
import CheckLine from '~icons/ri/chat-check-line';
import Smile from '~icons/ri/star-smile-line';

/** 需求人数、提问数量、解决数量、用户满意度 */
const chartData = [
  {
    icon: GroupLine,
    bgColor: '#effaff',
    color: '#41b6ff',
    duration: 2200,
    name: '需求人数',
    value: 36000,
    percent: '+88%',
    data: [2101, 5288, 4239, 4962, 6752, 5208, 7450], // 平滑折线图数据
  },
  {
    icon: Question,
    bgColor: '#fff5f4',
    color: '#e85f33',
    duration: 1600,
    name: '提问数量',
    value: 16580,
    percent: '+70%',
    data: [2216, 1148, 1255, 788, 4821, 1973, 4379],
  },
  {
    icon: CheckLine,
    bgColor: '#eff8f4',
    color: '#26ce83',
    duration: 1500,
    name: '解决数量',
    value: 16499,
    percent: '+99%',
    data: [861, 1002, 3195, 1715, 3666, 2415, 3645],
  },
  {
    icon: Smile,
    bgColor: '#f6f4fe',
    color: '#7846e5',
    duration: 100,
    name: '用户满意度',
    value: 100,
    percent: '+100%',
    data: [100],
  },
];

export { chartData };
